@import "../../../../../common/colors.scss";
@import "../../../../../mixins/utils.scss";
@import "../../../common/var.scss";

.tags-view-container {
  user-select: none; 
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border-top: 1px solid #f6f6f6;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  display: flex !important;
  & .tags-view-wrapper {
    flex: 1;
    height: 36px;
    & .tags-view-item {
      text-decoration:none;
      display: inline-block;
      position: relative;
      height: 26px;
      line-height: 26px;
      border: 1px solid #d8dce5;
      color: #495060;
      background: #fff;
      padding: 0 8px;
      font-size: 12px;
      margin-left: 5px;
      margin-top: 4px;
      &:first-of-type {
        margin-left: 15px;
      }
      &.active {
        background-color: #2286DB;
        color: #fff;
        border-color: #2286DB;
        &::before {
          content: '';
          background: #fff;
          display: inline-block;
          width: 8px;
          height: 8px;
          border-radius: 50%;
          position: relative;
          margin-right: 2px;
        }
      }
    }
  }

  & .contextmenu {
    margin: 0;
    background: #fff;
    z-index: 1000;
    position: absolute;
    list-style-type: none;
    padding: 5px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
    li {
      margin: 0;
      padding: 7px 16px;
      cursor: pointer;
      &:hover {
        background: #eee;
      }
    }
  }

  & .tags-view__menu-border{
    display: inline-block;
    width:90px;
    & .tags-view__menu {
        position: absolute !important;
        top: 3px;
        right: 6px;
        padding: 1px 0 0 15px;
        box-sizing: border-box;
    }
  }

}
